package com.mlnx.ui.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("患者表")
@TableName("t_patient")
public class Patient {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("电话")
    private String phone;

    @ApiModelProperty("身份证")
    private String identity;

    @ApiModelProperty("性别")
    private String sex;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("UUID")
    private String uuid;

    @ApiModelProperty("数据来源")
    private Integer source;

    @ApiModelProperty("床位号")
    private String bedNo;

    @ApiModelProperty("住院号")
    private String patId;

    @ApiModelProperty("住院次数")
    private Integer visitId;

    @ApiModelProperty("转科次数")
    private Integer depId;

    @ApiModelProperty("数据是否有效")
    private Integer alive;
}
